home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / libtiff / contrib / win95 / README < prev    next >
Encoding:
Internet Message Format  |  1999-09-11  |  1.5 KB

  1. Date: 04 Dec 95 10:34:23 EST
  2. From: Philippe <100423.3705@compuserve.com>
  3. To: TIFF/sam Leffler <sam@cthulhu.engr.sgi.com>
  4. Subject: TIFF library and Windows 95
  5. Message-Id: <951204153422_100423.3705_BHG101-1@CompuServe.COM>
  6.  
  7. Sam, 
  8.  
  9. First, let me thanks all of you how have worked 
  10. on that great TIFF library !
  11.  
  12. Here is some information that may help someone.
  13.  
  14. I build the library under Windows 95 as a 32-bit library.
  15. The contribution of Scott Wagner (tif_win32.c) worked fine, but 
  16. the makefile "makefile.msc" was unsable because it was
  17. written for DOS or Windows 3.1 and all the files names 
  18. are limited to 8 characters.
  19.  
  20. Here is the makefile I used : makefile.w95
  21.  
  22. Also, I had to disable fax3 support because I wasn't able
  23. to build (as it is) the tool "mkg3states" to generate the include
  24. file "g3states.h". 
  25. This source file must be modify to be build under Windows 95.
  26.  
  27. To build the library under Windows 95 with Visual C++ 2.0, 
  28. I had to :
  29.  
  30. - undefine CCITT_SUPPORT in "tiffconf.h"
  31.  
  32. - create the file version.h with this line :
  33.       #define VERSION "3.4beta024"
  34.  
  35. - build the makefile "makefile.w95"
  36.  
  37. I also join the source file "tif2dib.c" that I created, 
  38. it contain the function LoadTIFFinDIB that load 
  39. a TIFF file and build a memory DIB with it and return the 
  40. HANDLE (HDIB) of the memory bloc containing this DIB.
  41. Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
  42. this function sould be usefull for some Windows 95 (or NT) developer.
  43.  
  44.  
  45. Sorry for my approximate english ...
  46.  
  47. Regards,
  48.  
  49. Philippe Tenenhaus   100423.3705@compuserve.com
  50. Paris
  51.